<?php

class MyTests extends Controller {

	function BlogTags(){
		echo "<pre>testing blog tags...\n";
		
		$all = DataObject::get('BlogTag');
		print_r($all);
		
		$all = DataObject::get('BlogTag', '', '','',2);
		print_r($all);
		
		$one = DataObject::get_one('BlogTag');
		print_r($one);

		$two = DataObject::get_by_id('BlogTag',2);
		print_r($two);
	
		echo "\n\nDONE.\n";
	}
}